/**
 * 接口管理
 * 商品中心>属性库
 */
import request from '@/utils/request';

// 获取属性列表
export const getAttrList = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformAttribute/pageQuerySupportCondition', {
    method: 'POST',
    data: params
  })
}
// 编辑/添加属性
export const handleAttr = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformAttribute/addOrUpdate', {
    method: 'POST',
    data: params
  })
}
// 删除属性
export const deleteAttr = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformAttribute/deleteById', {
    method: 'POST',
    data: params
  })
}
